package com.kingdee.eas.jftz.base;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class PermissionFactory
{
    private PermissionFactory()
    {
    }
    public static com.kingdee.eas.jftz.base.IPermission getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.jftz.base.IPermission)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("66A96DB2") ,com.kingdee.eas.jftz.base.IPermission.class);
    }
    
    public static com.kingdee.eas.jftz.base.IPermission getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.jftz.base.IPermission)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("66A96DB2") ,com.kingdee.eas.jftz.base.IPermission.class, objectCtx);
    }
    public static com.kingdee.eas.jftz.base.IPermission getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.jftz.base.IPermission)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("66A96DB2"));
    }
    public static com.kingdee.eas.jftz.base.IPermission getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.jftz.base.IPermission)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("66A96DB2"));
    }
}